<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="UTF-8">
    <title>超市订单管理系统</title>
    <link type="text/css" rel="stylesheet" th:href="@{/css/style.css}">
    <link type="text/css" rel="stylesheet" th:href="@{/css/public.css}">
</head>
<body>
<!--头部-->
<header class="publicHeader">
    <h1>超市订单管理系统</h1>
    <div class="publicHeaderR">
        <p><span>下午好！</span><span style="color: #fff21b"> admin</span> , 欢迎你！</p>
        <a href="/logout.do">退出</a>
    </div>
</header>
<!--时间-->
<section class="publicTime">
    <span id="time">2015年1月1日 11:11  星期一</span>
    <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
</section>
<!--主体内容-->
<section class="publicMian ">
    <div class="left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <ul class="list">
                <li><a href="/bill.do?method=query">订单管理</a></li>
                <li><a href="/provider.do?method=query">供应商管理</a></li>
                <li><a href="/user.do?method=query">用户管理</a></li>
                <li><a href="/pwdmodify.jsp">密码修改</a></li>
                <li><a href="/logout.do">退出系统</a></li>
            </ul>
        </nav>
    </div>
    <input type="hidden" id="path" name="path" value="../">
    <input type="hidden" id="referer" name="referer" value="../">
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面 &gt;&gt; 用户修改页面</span>
        </div>
        <div class="providerAdd">
            <form id="userForm" name="userForm" method="post" th:action="@{/updateStep/{id}}">
                <input type="hidden" name="id" th:value="${address.id}">
                <div>
                    <label for="contact">用户名称：</label>
                    <input type="text" name="contact" id="contact" th:value="${address.contact}">
                    <font color="red"></font>
                </div>

                <div>
                    <label for="addressdesc">居住地址</label>
                    <input type="text" name="addressdesc" id="addressdesc" th:value="${address.addressdesc}">
                </div>
                <div>
                    <label for="postcode">门牌号</label>
                    <input type="text" name="postcode" id="postcode" th:value="${address.postcode}">
                </div>

                <div>
                    <label for="tel">电话号码</label>
                    <input type="text" name="tel" id="tel" th:value="${address.tel}">
                </div>


                <div>
                    <label>居住状态：</label>
                    <select name="createdby" id="createdby">


                        <option value="2" th:selected="${address.createdby == 2}">未居住</option>
                        <option value="1" th:selected="${address.createdby == 1}">居住</option>


                    </select>
                </div>
                <div>
                    <label for="data">出生日期：</label>
                    <input type="text" class="Wdate" id="creationdate" name="creationdate" th:value="${address.creationdate}" readonly="readonly" onclick="WdatePicker();">
                    <font color="red"></font>
                </div>
                <div class="providerAddBtn">
                    <input type="button" name="save" id="save" value="保存">
                    <input type="button" id="back" name="back" value="返回">
                </div>
            </form>
        </div>
    </div>
</section>

<footer class="footer">
    版权归朝腾教育
</footer>
<script type="text/javascript" th:src="@{/js/time.js}"></script>
<script type="text/javascript" th:src="@{/js/jquery-1.8.3.min.js}"></script>
<script type="text/javascript" th:src="@{/js/common.js}"></script>
<script type="text/javascript" th:src="@{/calendar/WdatePicker.js}"></script>
</body>
<script type="text/javascript" th:src="@{/js/usermodify.js}"></script>
</html>
